package inter;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.Date;
import java.util.List;

import model.Ga;
import model.Ghe;
import model.Tau;
import model.Tuyen;

public interface ServerInterface  extends Remote{
	public List<Tuyen> getListTuyen() throws RemoteException;
	public List<Tau> getListTau(Tuyen tuyen) throws RemoteException;
	public List<Ga> getListGaDi(Tau tau) throws RemoteException;
	public List<Ga> getListGaDen(Ga gaDi, Tau tau) throws RemoteException;
	public List<Ghe> getListGheTrong(Tau tau, Ga gaDi, Ga gaDen, Date ngay) throws RemoteException;
	public List<Tau> getListTau() throws RemoteException;
}
